<!-- @format -->

```vue
<!-- @format -->

<template>
  <div class="w" @click="handleClick">
    烙铁6666 --- {{ theId }}
    {{ theDeviceType?.isPC }}
  </div>
</template>

<script setup>
  import { ref, onMounted } from 'vue';
  import { useRouter } from 'vue-router';
  import { useGlobalLoading } from '@/hooks/useLoading';
  import useContainer from '@/hooks/useContainer';
  import { message } from '@/utils/message';
  const handleClick = () => {
    message.success('点击了');
  };
  import { getMenu } from '@/api/user';

  const { theDeviceType } = useContainer();
  const theGlobalLoading = useGlobalLoading();
  const { push, currentRoute } = useRouter();
  const theId = ref(currentRoute.value.query.menuId);
  onMounted(() => {
    theGlobalLoading.setGlobalLoading();
  });
</script>

```
